import React from "react";
import ReactDOM from 'react-dom';
import { Provider } from 'mobx-react';
import RouterConfig from './routes/routes';
import stores from '../src/stores/index';
import '@casstime/bricks/dist/bricks.production.css';
import { Router, Route, useRouterHistory, IndexRoute, IndexRedirect } from 'react-router';
import { createHashHistory } from 'history';
const history = createHashHistory();


ReactDOM.render(
  <Provider {...stores}>
    <RouterConfig history={history} />
  </Provider>,
  document.getElementById("app")
);
